From: Debian Science Team Date: Sat, 24 Jan 2015 22:06:27 +0000 (+0000) Subject: _sh X-Git-Tag: archive/raspbian/3.10.3-3+rpi1~2^2^2~8 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=fb63daac4d7005b1072022cfa619c6b882418992;p=atlas.git _sh Gbp-Pq: Name 22_sh.diff --- diff --git a/CONFIG/include/atlconf.h b/CONFIG/include/atlconf.h index baf3a4d..d0e4ff2 100644 --- a/CONFIG/include/atlconf.h +++ b/CONFIG/include/atlconf.h @@ -85,6 +85,14 @@ enum MACHTYPE {MACHOther, IbmPwr3, IbmPwr4, IbmPwr5, PPCG4, PPCG5, ( 0 ) #endif +#ifdef __sh__ +#define MachIsSH(mach_) \ + ( __sh__ ) +#else +#define MachIsSH(mach_) \ + ( 0 ) +#endif + static char *f2c_namestr[5] = {"UNKNOWN","Add_", "Add__", "NoChange", "UpCase"}; static char *f2c_intstr[5] = diff --git a/CONFIG/src/SpewMakeInc.c b/CONFIG/src/SpewMakeInc.c index 8b5ca49..2567789 100644 --- a/CONFIG/src/SpewMakeInc.c +++ b/CONFIG/src/SpewMakeInc.c @@ -399,6 +399,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, return(sp); if (MachIsMIPS(arch)) return(sp); + if (MachIsSH(arch)) + return(sp); if (MachIsS390(arch)) return(sp); if (!CompIsGcc(comp)) diff --git a/CONFIG/src/probe_comp.c b/CONFIG/src/probe_comp.c index c9dd6b8..b22b193 100644 --- a/CONFIG/src/probe_comp.c +++ b/CONFIG/src/probe_comp.c @@ -594,6 +594,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, return(sp); if (MachIsS390(arch)) return(sp); + if (MachIsSH(arch)) + return(sp); if (!CompIsGcc(comp)) { /*